import http from '../utils/HttpUtil';
import * as $ from '../utils/HHUtil';

export function switchReg(params) {
  return http({
      url: '/sei/config/switchReg',
      data: params,
      method: 'post'
    }
  );
}

export function switchLogin(params) {
  return http({
      url: '/sei/config/switchLogin',
      data: params,
      method: 'post'
    }
  );
}

export function getAll(params){
  return http.get('/sei/config/getAllConfig');
}


